package com.hsq.db137.demos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @Author: hsq加油
 * @CreateTime: 2024/12/24-11:48
 * @Description: TODO
 * @Version: 1.0
 */
@TableName(value = "userinfo")
public class Userinfo {
    @TableId(value = "userId", type = IdType.INPUT)
    private Integer userid;

    @TableField(value = "username")
    private String username;

    @TableField(value = "userpass")
    private String userpass;

    @TableField(value = "`state`")
    private Integer state;

    @TableField(value = "phone")
    private String phone;

    /**
     * @return userId
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * @param userid
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    /**
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return userpass
     */
    public String getUserpass() {
        return userpass;
    }

    /**
     * @param userpass
     */
    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    /**
     * @return state
     */
    public Integer getState() {
        return state;
    }

    /**
     * @param state
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }
}